.voice-input-wrapper {
  position: relative;
  .voice-content {
    position: absolute;
    bottom: -80px;
    margin-left: -375px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 750px;
    // ! 防止遮挡
    pointer-events: none;
    view {
      pointer-events: all;
    }
    .tip {
      font-size: 1rem;
      color: #868686;
      width: 750px;
      text-align: center;
      background-color: #ffffff;
    }
  }
}

.hidden {
  visibility: hidden;
}

.loading-transform {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  width: 30px;
  height: 30px;

  border: 2px solid #000;
  border-top-color: rgba(0, 0, 0, 0.2);
  border-right-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.2);
  border-radius: 100%;

  animation: circle infinite 0.75s linear;
}

@keyframes circle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b26a;
}

.voice-mask {
  .trans-voice-bar {
    .nut-textarea {
      background-color: #51ff50;
      textarea {
        min-height: 40px;
      }
    }
  }
  .error-trans-voice-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fa2a27;
    color: #ffffff;
    text-align: center;
    image {
      margin-right: 10px;
    }
  }
}

.voice-mask {
  z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.text-voice-bar {
  position: absolute;
  width: 700px;
  margin-left: -350px;
  overflow: hidden;
  left: 50%;
  top: 50%;
  background-color: #51ff50;
  border-radius: 20px;
  margin-bottom: 220px;
}

.voice-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -30%);
  height: 150px;
  background-color: #51ff50;
  border-radius: 26px;
  margin-bottom: 220px;
}
.voiceDel {
  left: 80px;
  top: 50%;
  width: 170px !important;
  transform: translateX(0%);
  transform: translateY(-30%);
  background-color: #fa2a27;
}
.voice-volume {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-wave-item {
  position: absolute;
  width: 8px;
  border-radius: 6px;
  background-color: #333333;
}
.one {
  height: 18px;
  transform: translateX(-60px);
  animation: radius-animation 1s infinite ease;
}
.two {
  height: 53px;
  transform: translateX(-40px);
  animation: radius-animation 2s infinite ease;
}
.three {
  height: 36px;
  transform: translateX(-20px);
  animation: radius-animation 1.8s infinite ease;
}
.four {
  height: 70px;
  transform: translateX(0);
  animation: radius-animation 1.5s infinite ease;
}

.five {
  height: 30px;
  transform: translateX(20px);
  animation: radius-animation 1.2s infinite ease;
}
.six {
  height: 40px;
  transform: translateX(40px);
  animation: radius-animation 1s infinite ease;
}
.seven {
  height: 50px;
  transform: translateX(60px);
  animation: radius-animation 2.1s infinite ease;
}

@keyframes radius-animation {
  100% {
    height: 10px;
    border-radius: 50%;
    filter: contrast(2);
  }
}

.volumeDel {
  width: 80px;
}
.trangle-bottom {
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px;
  border-style: solid;
  border-color: #51ff50 transparent transparent transparent;
}
.trangleDel {
  border-color: red transparent transparent transparent;
}
.voice-send {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.voice-middle-wrapper {
  width: 100%;
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.voice-left-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.cancel-del {
  display: none;
}
.delTip {
  display: block;
  color: #bfbfbf;
  margin: 0 22px 18px 0;
}
.voice-middle-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  width: 140px;
  height: 140px;
  border-radius: 50%;
}
.close {
  // transform: rotate(350deg);
  margin-left: 80px;
}
.bigger {
  width: 170px;
  height: 170px;
  background-color: #dfdfdf;
}
.active-bg-w {
  background-color: #dfdfdf;
}
.disabled-send {
  background-color: rgba(0, 0, 0, 0.2);
  .send-btn {
    color: #666666;
  }
}

.to-text {
  transform: rotate(10deg);
  margin-right: 80px;
}
.close-icon {
  width: 80px;
  height: 80px;
}

.close-btn {
  width: 60px;
  height: 60px;
}

.wen {
  font-size: 2.5rem;
  color: #bfbfbf;
}
.black-wen {
  color: #000000;
}
.send-tip {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translate(-50%, 36%);
  color: #bfbfbf;
}
.sendTipNone {
  display: none;
}
.mask-bottom {
  position: relative;
  width: 100%;
  height: 190px;
  border-top: #bababb 8px solid;
  border-radius: 300px 300px 0 0;
  background-image: linear-gradient(#949794, #e1e3e1);
}
.mask-bottom image {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.voice-img {
  &-ready {
    animation: jump 2s infinite linear;
  }
  &-load {
    // animation: rotation 2s infinite linear;
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes jump {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}
